<!DOCTYPE html>
<html>
	<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" type="text/css" href="{{CDN}}/easyui/themes/default/easyui.css">
        <link rel="stylesheet" type="text/css" href="{{CDN}}/easyui/themes/icon.css">
        <script type="text/javascript" src="{{CDN}}/easyui/jquery.min.js"></script>
        <script type="text/javascript" src="{{CDN}}/easyui/jquery.easyui.min.js"></script>
        <script type="text/javascript" src="{{CDN}}/easyui/locale/easyui-lang-zh_CN.js"></script>
		<script>
		$(function(){
			/*表格初始化*/
			$("#grid").datagrid({
                title:'某企业资质名称加等级重复',
				singleSelect:true,
				fit:true,
				fitColumns:true,
				collapsible:true, 
				//width:'auto',
				striped:true,
				rownumbers:true, 
			    columns:[[    
			    	{field:'CK',checkbox:true},
                    {field:'company',title:'企业名称',width:250,align:'left'}, 
                    {field:'zzmc',title:'资质名称',width:250,align:'left'}
			    ]],
			    pagination:true,
			    pageSize:20,
			    pageList:[10,20,30,50,100,200,500]
			});
			
			//查询按钮
			$("#search_btn").click(function(){
				$("#grid").datagrid({
					url:'/testLib/companyCertRepeat/getCompanyCertRepeatList',
					method:"POST"
				});
				
			});
		});
		
		
		</script>
	</head>
	<body class="easyui-layout">
		<!-- 主表格 -->
		<div region="center" border="false">
			<table id="grid"  data-options="toolbar:'#toolbar'">
                <div id = "toolbar">
                    <a href="#" id="search_btn" class="easyui-linkbutton"	 data-options="iconCls:'icon-search'"  >查询</a>
                </div>
            </table>
		</div>
	</body>
</html>
